namespace gisgeb.plugins.powershell
{
    using System;

    public class PowershellPlugin : interfaces.IMenuEntryPlugin
    {
        #region Implementation of IMenuEntryPlugin

        public int PositionHint
        {
            get
            {
                return 10;
            }
        }

        public string MenuDisplayText
        {
            get
            {
                return "open Powershell";
            }
        }

        public string HelpText
        {
            get
            {
                return "open a Powershell in this Folder";
            }
        }

        public Action<string> Command
        {
            get
            {
                return dir => PowerShellRunner.OpenPowerShellAt(dir);
            }
        }

        #endregion
    }
}